package cn.houserent.pojo;

/**
 * User entity.
 *
 * @author MyEclipse Persistence Tools
 */

public class Users {

    private Integer id;
    private String name;//用户名
    private String password;//密码
    private String telephone;//电话
    private String username;//姓名
    private Integer isadmin;//是否是管理员

    /** default constructor */
    public Users() {
    }

    public Users(String name, String telephone) {
        super();
        this.name = name;
        this.telephone = telephone;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getIsadmin() {
        return isadmin;
    }

    public void setIsadmin(Integer isadmin) {
        this.isadmin = isadmin;
    }

}